package com.managerConsummer.service;

import entity.Store;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * The interface Store service feign.
 *
 * @author tapoliuliyue
 * @date 2022/04/23
 */
@FeignClient(name = "mp-p")
public interface StoreServiceFeign {
    /**
     * Select all store string.
     *
     * @param store the store
     * @return the string
     */
    @RequestMapping("/store/selectAllStore")
    @ResponseBody
    String selectAllStore(@RequestBody Store store);

    /**
     * Update store string.
     *
     * @param store the store
     * @return the string
     */
    @RequestMapping("/store/updateStore")
    @ResponseBody
    String updateStore(@RequestBody Store store);
}
